<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        /* 
        运算符也叫操作符
        +
        -
        *
        /
        %(取余数)
        */
        var a = 123;
        d = a % 2;

        console.log("d=" + d);
    </script>
</body>

</html>